Designing Test Engine for Computer-Aided Software Testing Tools

نویسندگان

  • XUE-YING MA
  • BIN-KUI SHENG
چکیده

With the rapid development of software scale and programming languages, it is impossible to test software manually. The case for automating the software testing process has been made repeatedly and convincingly by numerous testing professionals. Automated tests can promote the efficiency of software testing and then to increase software productivity, improve software quality, and reduce cost in almost all processes of software engineering. White-box testing is one of the most important software testing strategies that can detect error even when the software specification is vague or incomplete. This paper gives a detailed description of the design and implementation of a testing engine. The testing engine, which is the kernel of a developed structured software-testing tool for the Visual Basic and C/C++ language, mainly consists of three components: program analyzer, source code instrumentation tool and intermediate database. In the testing engine, a block division mechanism and a new block-based CFG model are introduced and some block-based test adequacy criteria are extended. The programs are divided into a sequence of blocks and then instrumented and compiled in the testing engine, and all the information related to the test is saved in the intermediate database. The testing engine, acting as an agency, associates the testing automation module with instrumented executable program rather than the source code, and therefore the testing tool can easily be developed to accommodate new requirements and different testing adequacy criteria. It is also convenient to build a testing environment for multi-languages by modifying the program analyzer only, due to the flexibility of the software architecture. Key-Words: computer-aided software test, testing engine, program instrumentation, Intermediate database, object-oriented software-testing.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

I-16: Computer Aided Sperm Analysis andSperm Functional Testing (Hyperactivation) asBackground Tools in the Evaluation of SpermFunction/Quality

After twenty years Computer Aided Sperm Analysis has developed considerably and is now routinely used in many laboratories across the world. The advantage of the CASA methodology available is twofold: Analysis of particularly sperm concentration, sperm motility, sperm morphology and vitality is quantified in an Background manner. Secondly, most of the CASA analysis with the exception of sperm m...

متن کامل

ATTEST : an Automated - Test - Tool Evaluation and Selection Technology

A significant part of software testing process improvement effort pertains to defect prevention, software testing technology change management and software testing process change management. ATTEST is an automated-test-tool evaluation and selection technology developed by the School of Computer Science & Software Engineering (CSSE) at Monash University in Australia to help SMEs (smallto medium-...

متن کامل

Designing for Software Testability Using Automated Oracles

Software testing often requires massive numbers of test cases that must be manually inspected for correctness. This paper demonstrates the use of software \test oracles" to automate the process of checking the correctness of program output. The Prosper system, implemented by the authors, can be used to de ne test oracles and monitor the runtime behavior of software. An e ective method to design...

متن کامل

Modelsaz: An Object-Oriented Computer-Aided Modeling Environment

Modeling and simulation of processing plants are widely used in industry. Construction of a mathematical model for a plant is a time-consuming and error-prone task. In light of extensive advancements in computer science (both hardware and software), computers are becoming a necessary instrument in industrial activities. Many software tools for modeling, simulation and optimization of proces...

متن کامل

Software Product Lines System Test Case Tool: A Proposal

Nowadays the decision whether to work with Software Product Lines (SPL) or not becomes a binding requirement for the strategic planning of companies. Learning how to choose the ideal tools to test a SPL is beneficial for companies in this planning process. Even though the ascending number of available software engineering testing tools, SPL testing lacks specific tools capable of supporting the...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011